package com.springConfig;

import com.dao.IClassDao;
import com.dao.impl.ClassMySqlDaoImpl;
import com.service.IClassService;
import com.service.impl.ClassServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//@Configuration
public class ClassesConfig {

   /* @Bean
    public IClassService getClassService(){

        ClassServiceImpl classService = new ClassServiceImpl();
        classService.setiClassDao(getClassDao());
        return classService;
    }

    @Bean
    public IClassDao getClassDao(){

        return new ClassMySqlDaoImpl();
    }*/
}
